@extends('admin.c_r_common')
@section('content')
	<title>买家评论</title>
</head>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 评论管理 <span class="c-gray en">&gt;</span> 评论列表 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="page-container">
	<div class="cl pd-5 bg-1 bk-gray mt-20"><span class="r"> </div>
	<div class="mt-20">
		<table class="table table-border table-bordered table-hover table-bg table-sort">
			<thead>
				<tr class="text-c">
					<th width="60">ID</th>
					<th width="60">用户名</th>
					<th width="60">商品名</th>
					<th>评论内容</th>
					<th width="100">操作</th>
				</tr>
			</thead>
			<tbody>
			@foreach($comments as $com)
				<tr class="text-c">
					<td>{{$com->id}}</td>
					<td>{{$com->username}}</td>
					<td>{{$com->goods_name}}</td>
					<td class="text-l"><div class="c-999 f-12">
							<u style="cursor:pointer" class="text-primary"  onclick="member_show('{{$com->username}}','/admin/user/{{$com->id}}','10001','360','400')">{{$com->username}}</u> <time title="" datetime="">{{date('Y-m-d H:i:s',$com->time)}}</time> <span class="ml-20">{{$com->phone}}</span> <span class="ml-20">{{$com->email}}</span></div>
							
						<div>{{$com->content}}<a href="javascript:;"
						onclick="reply_show('{{$com->username}}',
					,'{{$com->id}}','360','400')" class="c-999 f-12" ><br>
					</a></div></td>
					<td class="td-manage"> <a title="删除" href="javascript:;" del="{{url('/admin/comdel')}}" onclick="member_del(this,'{{$com->id}}')" class="ml-5" style="text-decoration:none"><i class="Hui-iconfont">&#xe6e2;</i></a></td>
				</tr>
			@endforeach
			</tbody>
		</table>
	</div>
</div>

@endsection